﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ConnectToDatabase.Model
{
    [Serializable()]
    public class DV_BaoHanh
    {
        private string m_sMaDVBaoHanh;
        private string m_sMaHoaDon;      
        private string m_sMaSanPham;
        private DateTime m_dNgayNhanBaoHanh;
        private DateTime m_dNgayTraSanPham;
        private string m_sHoTenKhachHang;
        private string m_sCMND;
        private int m_iPhiPhatSinh;

        public int PhiPhatSinh
        {
            get { return m_iPhiPhatSinh; }
            set { m_iPhiPhatSinh = value; }
        }

        public string CMND
        {
            get { return m_sCMND; }
            set { m_sCMND = value; }
        }

        public string HoTenKhachHang
        {
            get { return m_sHoTenKhachHang; }
            set { m_sHoTenKhachHang = value; }
        }

        public DateTime NgayTraSanPham
        {
            get { return m_dNgayTraSanPham; }
            set { m_dNgayTraSanPham = value; }
        }

        public DateTime NgayNhanBaoHanh
        {
            get { return m_dNgayNhanBaoHanh; }
            set { m_dNgayNhanBaoHanh = value; }
        }
        public string MaHoaDon
        {
            get { return m_sMaHoaDon; }
            set { m_sMaHoaDon = value; }
        }
        public string MaSanPham
        {
            get { return m_sMaSanPham; }
            set { m_sMaSanPham = value; }
        }

        public string MaDVBaoHanh
        {
            get { return m_sMaDVBaoHanh; }
            set { m_sMaDVBaoHanh = value; }
        }

    }
}
